﻿using CommonTools;
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shop.Model
{
    public class JRefundReason:IFastTree
    {
        [Column(IsIgnore = true)]
        public string NodeText => this.Code + " " + this.Name ;



        [Column(IsPrimary = true, IsIdentity = true)]
        public int ID { get; set; }

        /// <summary> 名称 </summary>
        [Column(StringLength = 100)]
        public string Name { get; set; }

        /// <summary> 代码 </summary>
        [Column(StringLength = 20)]
        public string Code { get; set; }


        public bool? Isdel { get; set; } = false;

        /// <summary> 明细 </summary>
        public bool IsDetails { get; set; }


        /// <summary>  </summary>
        [Column(IsIgnore =true)]
        public string GroupsText { set; get; }

        /// <summary>  </summary>
        [Column(IsIgnore = true)]
        public string Name2 { set; get; }

        /// <summary>  </summary>
        [Column(IsIgnore = true)]
        public string Name3 { set; get; }

    }
}
